<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{if $title}><{$title}> - <{$config.company}><{else}><{$config.title}><{/if}><{$config.company}></title>
<meta name="description" content="<{$config.description}>">
<meta name="keywords" content="<{$config.keyword}>">
<meta name="generator" content="<{$config.version}>" />
<link href="<{$config.weburl}>/templates/default/user_admin/user_admin.css" rel="stylesheet" type="text/css" />
<link href="<{$config.weburl}>/script/jcarousel/skins/tango/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<{$config.weburl}>/script/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/jquery.ui.js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/base.js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/dialog/dialog.js" id="dialog_js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/jcarousel/jquery.jcarousel.min.js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/jquery.validation.min.js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/jquery.charCount.js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/sns.js"></script>
</head>
<body class="member">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div id="shortcut">
  <div class="w">
    <div class="fl"> 
      <script src="<{$config.weburl}>/login_statu.php"></script> 
      <a href="<{$config.weburl}>/"><{$lang.homepage}></a> </div>
    <div class="fr"> <a href="<{$config.weburl}>/main.php?cg_u_type=2"><{$lang.enter_the_seller_center}></a> <a href="<{$config.weburl}>/main.php?m=sns&s=admin_share_product"><{$lang.my_favorites}></a> <a href="<{$config.weburl}>/main.php?m=message&s=admin_message_list_inbox"><{$lang.news_station}></a> </div>
  </div>
</div>
<div id="main">
    <div class="header">
        <h1 style="top:20px;">
        	<a href="<{$config.weburl}>/main.php" title="<{$config.company}>"> <img title="<{$config.company}>" alt="<{$config.company}>" src="<{if $config.logo}><{$config.logo}><{else}><{$config.weburl}>/image/default/logo.gif<{/if}>" /></a>
        </h1>
        <div id="nav">
            <ul>
                <{foreach item=list name=name key=num from=$menu}>
                <li class="<{if $cmenu==$num}>frist<{/if}>"><a <{if $list.action|truncate:4:''=='http'}>target="_blank"<{/if}> href="<{if $list.action|truncate:1:''!='?' and $list.action|truncate:4:''!='http'}>?action=<{/if}><{$list.action}>"><{$list.name}></a></li>
                <{/foreach}>
            </ul>
            <div class="search_box">
                <form target="_blank" action="<{$config.weburl}>/" method="get">
                    <input type="text" maxlength="200" class="text" id="key" name="key">
                    <input type="submit" class="submit" value="" name="">
                    <input type="hidden" name="m" value="" />
                    <input type="hidden" name="s" value="list" />
                </form>
            </div>
        </div>
    </div>
    
	<{if $smarty.get.m=='product' && $smarty.get.s=='admin_receipt'}>
		<{$output}>
    <{else}>
    <div class="layout buyer clearfix">
        <div class="left_con">
            <{if $cmenu=='user'}>
                <{foreach name=name item=list from=$submenu.sub}>
                    <div class="business_handle" id="my_menu">
                        <h3 style="text-indent:20px;"><{$list.name}></h3>
                        <ul>
                            <{foreach item=slist key=akey from=$list.action}>
                            <{if $slist}>
                            <{assign var="gets" value=$akey|explode:"&"}>
                             <li <{if $smarty.get.action==$akey or in_array($smarty.get.type,$gets) or in_array($smarty.get.s,$gets) or ($gets.s==admin_security&&$smarty.get.s=='mail') }>class="active"<{else}>class="normal"<{/if}> ><a href="<{if $akey|truncate:1:''=='?' or $akey|truncate:4:''=='http'}><{$akey}><{else}>?action=<{$akey}><{/if}>"><{$slist}></a>
                            </li>
                            <{/if}>
                            <{/foreach}>
                        </ul>
                    </div>
                <{/foreach}>
            <{else}>
                <dl class="user">
                    <dd>
                        <div class="pic">
                       		<a href="main.php?m=member&s=admin_member">
                        		<img height="100" width="100" src="<{if !$cominfo.plogo}>image/default/user_admin/default_user_portrait.gif<{else}><{$cominfo.plogo}><{/if}>" />
							</a>
                        </div>
                    </dd>
                </dl>
                <div class="business_intro">
                    <h3><{$lang.transaction_infomation}></h3>
                    <ul>
                        <li><span><a href="main.php?m=product&s=admin_buyorder&status=1">待付款订单</a></span> <i class="<{if $shop_count.order.0}>yes<{else}>no<{/if}>"><{$shop_count.order.0}></i></li>
                        <li><span><a href="main.php?m=product&s=admin_buyorder&status=3">待确认收货</a></span> <i class="<{if $shop_count.order.1}>yes<{else}>no<{/if}>"><{$shop_count.order.1}></i></li>
                        <li><span><a href="main.php?m=product&s=admin_buyorder&status=4">待评价交易</a></span> <i class="<{if $shop_count.order.2}>yes<{else}>no<{/if}>"><{$shop_count.order.2}></i></li>
                    </ul>
                </div>
                <div class="business_handle" id="my_menu">
                    <h3><{$lang.trading_operations}></h3>
                    <{foreach name=name item=list from=$submenu.sub}>
                        <{if $list.action|truncate:1:''=='?'}>
                       	 <{assign var="gets" value=$list.action|explode:"&"}>
                            <div class="<{ if $smarty.get.action==$list.action or in_array($smarty.get.type,$gets) or in_array($smarty.get.s,$gets) }>active<{else}>normal<{/if}>"><em class="i<{$smarty.foreach.name.iteration}>"></em><a href="<{$list.action}>"><{$list.name}></a></div>
						<{else}>
                            <dl>
                            <dt><em class="i<{$smarty.foreach.name.iteration}>"></em><a href="javascript:void(0)"><{$list.name}></a></dt>
                                <{foreach item=slist key=akey from=$list.action}>
                                <{if $slist}>
                                <{assign var="gets" value=$akey|explode:"&"}>
                                    <dd <{if $smarty.get.action==$akey or in_array($smarty.get.type,$gets) or in_array($smarty.get.s,$gets)}>class="active"<{else}>class="normal"<{/if}> ><a href="<{if $akey|truncate:1:''=='?' or $akey|truncate:4:''=='http'}><{$akey}><{else}>?action=<{$akey}><{/if}>"><{$slist}></a>
                                    </dd>
                                <{/if}>
                                <{/foreach}>
                            </dl>
                        <{/if}>   
                    <{/foreach}>
                </div>
            <{/if}>
        </div>
        <div class="right_con"><{$output}></div>
	</div>
    <{/if}>
</div>    
<div id="footer">
    <p><{$web_con}></p>
    <{$bt}><br>
</div>
</body>
</html>